const readline = require("readline")
const r1 = readline.createInterface
    ({
        input: process.stdin,
        output: process.stdout,
    })

let input_arr = []
r1.on('line', function (line) {
    input_arr.push(line)
})
r1.on('close', function () {
    let input_arr = []
    input_arr.push('-600')
    let shu = ['ling', 'yi', 'er', 'san', 'si', 'wu', 'liu', 'qi', 'ba', 'jiu']
    let result = []
    let shuzi = parseInt(input_arr[0])
    let shuzishuzu = input_arr[0]
    if (shuzi < 0) {
        result.push('fu')
        for (let i = 1; i < shuzishuzu.length; i++) {
            result[i] = shu[shuzishuzu[i]]
        }
    }
    else {
        for (let i = 0; i < shuzishuzu.length; i++) {
            result[i] = shu[shuzishuzu[i]]
        }
    }
    console.log(result.join(" "))

})
